﻿using System.Diagnostics;
using DG.Tweening;

public class StaticData
{
    public static int[][,] GetLLeftModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x,y+2}, { x, y+1 }, { x, y}, { x+1, y} },
          new [,]{ {x+2,y}, { x, y-1 }, { x, y}, { x+1, y} },
          new [,]{ {x-1,y}, { x, y }, { x, y-1}, { x, y-2} },
          new [,]{ {x-2,y}, { x-1, y }, { x, y}, { x, y+1} },
        };
        return modes;
    }
    public static int[][,] GetLRightModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x,y+2}, { x, y+1 }, { x, y}, { x-1, y} },
          new [,]{ {x,y+1}, { x, y }, { x+1, y}, { x+2, y} },
          new [,]{ {x+1,y}, { x, y }, { x, y-1}, { x, y-2} },
          new [,]{ {x-2,y}, { x-1, y }, { x, y}, { x, y-1} },
        };
        return modes;
    }

    public static int[][,] GetFangModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x,y}, { x+1, y }, { x+1, y+1}, { x, y+1} }
        };
        return modes;
    }

    public static int[][,] GetTModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x-1,y}, { x, y }, { x+1, y}, { x, y+1} },
          new [,]{ {x,y+1}, { x, y }, { x+1, y}, { x, y-1} },
          new [,]{ {x-1,y}, { x, y }, { x+1, y}, { x, y-1} },
          new [,]{ {x,y+1}, { x, y }, { x, y-1}, { x-1, y} },
        };
        return modes;
    }

    public static int[][,] GetTiaoModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x,y+2}, { x, y+1 }, { x, y}, { x, y-1} },
          new [,]{ {x-1,y}, { x, y }, { x+1, y}, { x+2, y} }
        };
        return modes;
    }

    public static int[][,] GetZLeftModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x-1,y}, { x, y }, { x, y-1}, { x+1, y-1} },
          new [,]{ {x-1,y-1}, { x-1, y }, { x, y}, { x, y+1} },
          new [,]{ {x-1,y+1}, { x, y+1 }, { x, y}, { x+1, y} },
          new [,]{ {x,y-1}, { x, y }, { x+1, y}, { x+1, y+1} }
        };
        return modes;
    }
    public static int[][,] GetZRightModes()
    {
        int x = GameState.CurrentX;
        int y = GameState.CurrentY;
        int[][,] modes =
        {
          new [,]{ {x-1,y-1}, { x, y-1 }, { x, y}, { x+1, y} },
          new [,]{ {x,y+1}, { x, y }, { x+1, y}, { x+1, y-1} },
          new [,]{ {x-1,y}, { x, y }, { x, y+1}, { x+1, y+1} },
          new [,]{ {x,y-1}, { x, y }, { x-1, y}, { x-1, y+1} }
        };
        return modes;
    }
}

